#ifndef RESOURCEMANAGERXML_H
#define RESOURCEMANAGERXML_H

#include "resourcemanager.h"

class ResourceManagerXml : public ResourceManager
{
public:

    virtual ResourceList * getResources() =0;
    virtual bool addResource(Resource * r) =0;
    virtual bool updateResource(Resource * r)=0;
    virtual bool deleteResource(Resource * r)=0;
    virtual QString getLastError()=0;
    static ResourceManagerXml * getMangaInstance();
    static ResourceManagerXml * getBookmarkInstance();
    int getNextId();

protected:
    int m_nextId;
    ResourceManagerXml();

};

#endif // RESOURCEMANAGERXML_H
